package org.force4spring;

import org.springframework.dao.PermissionDeniedDataAccessException;

public class PasswordExpiredException extends PermissionDeniedDataAccessException {
	private String username;

	public PasswordExpiredException(String username) {
		super("The password for '" + username + "' has expired", null);
		this.username = username;
	}

	/**
	 * Returns value of 'username' property
	 * 
	 * @return username property
	 */
	public String getUsername() {
		return username;
	}
}
